<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.soft.entity.UserInfo" %>
<%@ page import="com.soft.service.Domain" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>电子商城</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%
    UserInfo ui = new Domain().getUserInfo(request.getParameter("userId"));
    request.setAttribute("userInfo", ui);
%>
<div class="main">
<div class="top">
  <p>
      <a href="<c:url value="/GoodsList"/>">商品管理</a> |
      <a href="<c:url value="/MemberManageList"/>">会员管理</a>  |
      <a href="<c:url value="/OrderManageList"/>">订单管理</a> |
      <a href="manage1.jsp">退出后台</a>
  </p>
</div>
  <div class="adm_con">
    <div class="bg_3">
      <div class="bg_1">
        <div class="bg_2">
          <h3><img src="images/25.gif" class="flo_right" /><img src="images/23.gif" class="flo_left" /><span>会员管理</span></h3>
          <div class="padd">
            <p> [会员详细信息]</p>
            <div style="width:500px;height:300px;margin:10px auto;">
           		<p>会 员 名： ${userInfo.id}</p>
            	<p>真实姓名： ${userInfo.name}</p>
            	<p>地&nbsp;&nbsp;&nbsp;&nbsp;址： ${userInfo.address}</p>
            	<p>邮政编码： ${userInfo.postalCode}</p>
            	<p>证件类型：
                    <c:if test="${userInfo.idType eq 0}">身份证</c:if>
                    <c:if test="${userInfo.idType eq 1}">军官证</c:if>
                    <c:if test="${userInfo.idType eq 2}">学生证</c:if>
                </p>
            	<p>证件号码： ${userInfo.idNumber}</p>
            	<p>电&nbsp;&nbsp;&nbsp;&nbsp;话： ${userInfo.telephone}</p>
            	<p>E-mail： ${userInfo.email}</p>
           	  <p class="ali_center">
               <img src="images/29.gif" onclick="window.location.href='/MemberManageList'" style="border:0; cursor:hand"/>
             </p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
